package com.putao.album.guide.anim;

import com.putao.album.base.BaseItem;

import java.io.Serializable;
import java.util.ArrayList;

/**
 * Created by jidongdong on 15/5/11.
 */
public class ConfigInfo extends BaseItem {
    public ArrayList<SenceItem> getSences() {
        return sences;
    }

    public void setSences(ArrayList<SenceItem> sences) {
        this.sences = sences;
    }

    private ArrayList<SenceItem> sences;


    /**
     * 场景
     */
    public class SenceItem extends BaseItem implements Serializable {
        public int getSenceid() {
            return senceid;
        }

        public void setSenceid(int senceid) {
            this.senceid = senceid;
        }

        private int senceid;

        public ArrayList<Elements> getElements() {
            return elements;
        }

        public void setElements(ArrayList<Elements> elements) {
            this.elements = elements;
        }

        private ArrayList<Elements> elements;
    }

    /**
     * 场景元素
     */
    public class Elements extends BaseItem implements Serializable {

        private String viewid;
        private float ratio;
        private float start_pos_x;
        private float start_pos_y;

        public float getStart_pos_x() {
            return start_pos_x;
        }

        public void setStart_pos_x(float start_pos_x) {
            this.start_pos_x = start_pos_x;
        }

        public float getStart_pos_y() {
            return start_pos_y;
        }

        public void setStart_pos_y(float start_pos_y) {
            this.start_pos_y = start_pos_y;
        }


        public String getViewid() {
            return viewid;
        }

        public void setViewid(String view_id) {
            this.viewid = view_id;
        }

        public float getRatio() {
            return ratio;
        }

        public void setRatio(float ratio) {
            this.ratio = ratio;
        }


    }
}
